/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package openrule.event;


/**
 *
 * @author leadiv
 */
public class RulerEvent extends java.util.EventObject {
    private int type;
    private String value;
    
    public RulerEvent(int t, Object src)
    {
        super(src);
        type = t;
    }

    public RulerEvent(int t, Object src, String v)
    {
        super(src);
        type = t;
        value = v;
    }
    public int getEventType()
    {
        return type;
    }
    
    public void setEventType(int t)
    {
        type = t;
    }
    public String getEventValue()
    {
        return value;
    }
    
    public void setEventValue(String v)
    {
        value = v;
    }
}
